package com.starbaba.spread.model;

import java.io.Serializable;

/**
 * 广告投放 表单映射实体
 * 
 * @author Herz
 *
 */
public class AdvertisingModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1001010101L;

	private String id;
	private String name;
	private String startTime;
	private String endTime;
	private String url;
	private long pv;
	private long uv;
	private double unitPrice;
	private double total;
	private double balance;
	private String date;
	private String userid;
	private double addmoney;

	public AdvertisingModel() {

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getPv() {
		return pv;
	}

	public void setPv(long pv) {
		this.pv = pv;
	}

	public long getUv() {
		return uv;
	}

	public void setUv(long uv) {
		this.uv = uv;
	}

	public double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUserid() {
		return userid;
	}

	public double getAddmoney() {
		return addmoney;
	}

	public void setAddmoney(double addmoney) {
		this.addmoney = addmoney;
	}

	public AdvertisingModel(String id, String name, String startTime, String endTime, String url, long pv, long uv,
			double unitPrice, double total, double balance, String date, String userid, double addmoney) {
		this.userid = userid;
		this.id = id;
		this.name = name;
		this.startTime = startTime;
		this.endTime = endTime;
		this.url = url;
		this.pv = pv;
		this.uv = uv;
		this.unitPrice = unitPrice;
		this.total = total;
		this.balance = balance;
		this.date = date;
		this.addmoney = addmoney;
	}

	@Override
	public String toString() {
		return "AdvertisingModel [id=" + id + ", name=" + name + ", startTime=" + startTime + ", endTime=" + endTime
				+ ", url=" + url + ", pv=" + pv + ", uv=" + uv + ", unitPrice=" + unitPrice + ", total=" + total
				+ ", addmoney=" + addmoney + ", balance=" + balance + ", date=" + date + "]";
	}

}